package com.prs.crm.domain.hr;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

@Entity
@Table(name="hr_resume")
public class Resume extends BaseEntity{
	
	
	private static final long serialVersionUID = 1L;
	
	@Id @GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	private String code;
	private String name;
	@ManyToOne
	private JobTitle title;
	@ManyToOne
	private Role role;
	@ManyToOne
	private Dept dept;
	@Lob
	private String hobby;
	private String sex;
	private String speciality;
	private String religion;
	private String nationality;
	private String race;
	private String party;
	private Date birthday;
	private String degree;
	private String college;
	private String demandsalary;
	@Column(name="resume_file")
	private String resumeFile;
	@Column(name="photo_img")
	private String photoImg;
	private String state;
	private String address;
	private String postcode;
	private String phone_No;
	private String mobile_No;
	private String msn_No;
	private String qq_No;
	private String email;
	@Lob
	private String record;
	@Lob
	private String social;
	@Lob
	private String familyInfo;		
	private String source;
	
	private String housePhone;
	private String fax;
	private String workPhone;
	public String getHousePhone() {
		return housePhone;
	}
	public void setHousePhone(String housePhone) {
		this.housePhone = housePhone;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getWorkPhone() {
		return workPhone;
	}
	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getId() {
		return id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public JobTitle getTitle() {
		return title;
	}
	public void setTitle(JobTitle title) {
		this.title = title;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public String getHobby() {
		return hobby;
	}
	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getSpeciality() {
		return speciality;
	}
	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}
	public String getReligion() {
		return religion;
	}
	public void setReligion(String religion) {
		this.religion = religion;
	}
	public String getNationality() {
		return nationality;
	}
	public void setNationality(String nationality) {
		this.nationality = nationality;
	}
	public String getRace() {
		return race;
	}
	public void setRace(String race) {
		this.race = race;
	}
	public String getParty() {
		return party;
	}
	public void setParty(String party) {
		this.party = party;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getCollege() {
		return college;
	}
	public void setCollege(String college) {
		this.college = college;
	}
	public String getDemandsalary() {
		return demandsalary;
	}
	public void setDemandsalary(String demandsalary) {
		this.demandsalary = demandsalary;
	}
	public String getResumeFile() {
		return resumeFile;
	}
	public void setResumeFile(String resumeFile) {
		this.resumeFile = resumeFile;
	}
	public String getPhotoImg() {
		return photoImg;
	}
	public void setPhotoImg(String photoImg) {
		this.photoImg = photoImg;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	public String getAddress() {
		return address;
	}
	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	public String getPostcode() {
		return postcode;
	}
	public void setPhone_No(String phone_No) {
		this.phone_No = phone_No;
	}
	public String getPhone_No() {
		return phone_No;
	}
	public void setMobile_No(String mobile_No) {
		this.mobile_No = mobile_No;
	}
	public String getMobile_No() {
		return mobile_No;
	}
	public void setMsn_No(String msn_No) {
		this.msn_No = msn_No;
	}
	public String getMsn_No() {
		return msn_No;
	}
	public void setQq_No(String qq_No) {
		this.qq_No = qq_No;
	}
	public String getQq_No() {
		return qq_No;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmail() {
		return email;
	}
	public void setRecord(String record) {
		this.record = record;
	}
	public String getRecord() {
		return record;
	}
	public void setSocial(String social) {
		this.social = social;
	}
	public String getSocial() {
		return social;
	}
	public void setFamilyInfo(String familyInfo) {
		this.familyInfo = familyInfo;
	}
	public String getFamilyInfo() {
		return familyInfo;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getSource() {
		return source;
	}
	
}
